package com.xinxing.learning.auth.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinxing.learning.auth.common.vo.SysRoleQueryVo;
import com.xinxing.learning.auth.entity.SysRole;
import com.xinxing.learning.auth.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户角色 Mapper 接口
 * </p>
 *
 * @author lantianbaiyun
 * @since 2022-10-28 23:37:02
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    //条件分页查询
    IPage<SysRole> selectPage(Page<SysRole> pageParam, @Param("vo") SysRoleQueryVo sysRoleQueryVo);
}
